]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Fix style
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 11 Mar 2013 20:55:15 +0000 (16:55 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 12 Mar 2013 15:58:51 +0000 (11:58 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=695659

js/ui/messageTray.js

index be1bf4b631177cd78ddfb955f6a176a7a99ce820..83a0425a454e97e9e5c809eb9003e04c400aee8b 100644 (file)
@@ -2247,9 +2247,8 @@ const MessageTray = new Lang.Class({
         let canShowNotification = notificationsPending && this._summaryState == State.HIDDEN;
 
         if (this._notificationState == State.HIDDEN) {
-            if (canShowNotification) {
+            if (canShowNotification)
                 this._showNotification();
-            }
         } else if (this._notificationState == State.SHOWN) {
             if (notificationMustClose)
                 this._hideNotification();